import Vue from 'vue'
import Vuex from 'vuex';
Vue.use(Vuex);
import user from './modules/user.js'
import product from './modules/product.js'

// modules:模块化

let store = new Vuex.Store({
    modules: {
        user,
        product
    }
})
export default store